package com.ssy.wireless.mapper;

import com.ssy.wireless.entity.Enterprise;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EnterpriseMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Enterprise record);

    Enterprise selectByPrimaryKey(Long id);

    int updateByPrimaryKey(Enterprise record);

    List<Enterprise> select(@Param("params") Map<String, Object> params);

    Long selectEntIdByName(@Param("name")String name);
}